package top.glkj.hms.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;

/**
 * @author : xgl
 * @version : 0.0.1
 * @date :2021/3/27 10:41
 */
@Data
public class IndexOffer implements Serializable {
    private final static long serialVersionUID = 20000213L;
    /**
     * 新增用户
     */
    private long newAddUser;
    /**
     * 累计登陆
     */
    private long countLogin;
    /**
     * 新增订单
     */
    private long newAddOrder;
    /**
     * 新增会员
     */
    private long newAddVipUser;
    /**
     * 累计用户
     */
    private long countUser;
    /**
     * 累计会员
     */
    private long countVip;
    /**
     * 预订订单
     */
    private long reservationOrder;
    /**
     * 进行订单
     */
    private long progressOrder;
    /**
     * 完成订单
     */
    private long completedOrder;
    /**
     * 一周订单数量
     */
    private HashMap<String,Long> weekOrder;

    private Data data;
    /**
     * 一周数据
     */
    @lombok.Data
    public class Data{
        private long regCountUser;
        private long intoCountUser;
        private long countOrder;
        private long vipUser;
        private long activeUser;
        private long week;
    }
}
